<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.2-20121118"/>
<title>SensorFramework: saxion.sensorframework.service.SensorWebService Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SensorFramework
   &#160;<span id="projectnumber">1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.2-20121118 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="a00031.html">saxion</a></li><li class="navelem"><a class="el" href="a00032.html">sensorframework</a></li><li class="navelem"><a class="el" href="a00037.html">service</a></li><li class="navelem"><a class="el" href="a00011.html">SensorWebService</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pac-static-attribs">Static Package Attributes</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="a00058.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">saxion.sensorframework.service.SensorWebService Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Webservice voor sensors.  
 <a href="a00011.html#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for saxion.sensorframework.service.SensorWebService:</div>
<div class="dyncontent">
<div class="center"><img src="a00059.png" border="0" usemap="#saxion_8sensorframework_8service_8_sensor_web_service_coll__map" alt="Collaboration graph"/></div>
<map name="saxion_8sensorframework_8service_8_sensor_web_service_coll__map" id="saxion_8sensorframework_8service_8_sensor_web_service_coll__map">
<area shape="rect" href="a00008.html" title="Used for sensor related tasks." alt="" coords="141,549,352,725"/><area shape="rect" title=" &#45;sensorProcessor" alt="" coords="253,721,261,729"/><area shape="rect" title=" &#45;sensorProcessor" alt="" coords="288,788,296,796"/><area shape="rect" title=" ~logger" alt="" coords="249,81,257,89"/><area shape="rect" title=" ~logger" alt="" coords="288,848,296,856"/><area shape="rect" title=" &#45;logger" alt="" coords="256,81,264,89"/><area shape="rect" title=" &#45;logger" alt="" coords="229,545,237,553"/><area shape="rect" href="a00003.html" title="The Data Acces Object wich contains all data queries that will be executed by SqlConnect." alt="" coords="293,149,507,485"/><area shape="rect" title=" ~logger" alt="" coords="293,81,301,89"/><area shape="rect" title=" ~logger" alt="" coords="321,145,329,153"/><area shape="rect" href="a00010.html" title="Validates data." alt="" coords="496,573,707,701"/><area shape="rect" title=" ~logger" alt="" coords="308,45,316,53"/><area shape="rect" title=" ~logger" alt="" coords="604,569,612,577"/><area shape="rect" title=" &#45;daoSensor" alt="" coords="396,481,404,489"/><area shape="rect" title=" &#45;daoSensor" alt="" coords="396,785,404,793"/><area shape="rect" title=" &#45;daoSensor" alt="" coords="315,481,323,489"/><area shape="rect" title=" &#45;daoSensor" alt="" coords="285,545,293,553"/><area shape="rect" title=" &#45;sensorValidator" alt="" coords="545,697,553,705"/><area shape="rect" title=" &#45;sensorValidator" alt="" coords="475,785,483,793"/><area shape="rect" title=" &#45;properties" alt="" coords="728,353,736,361"/><area shape="rect" title=" &#45;properties" alt="" coords="504,859,512,867"/><area shape="rect" title=" &#45;properties" alt="" coords="701,353,709,361"/><area shape="rect" title=" &#45;properties" alt="" coords="621,569,629,577"/></map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8931ea2b039c1d5b7b762b33133bfd3e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00011.html#a8931ea2b039c1d5b7b762b33133bfd3e">SensorWebService</a> (Properties <a class="el" href="a00011.html#a828f0c353a8fb11ab18c26c572142975">properties</a>)</td></tr>
<tr class="memdesc:a8931ea2b039c1d5b7b762b33133bfd3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; DaoSensor used for database connection  <a href="#a8931ea2b039c1d5b7b762b33133bfd3e"></a><br/></td></tr>
<tr class="separator:a8931ea2b039c1d5b7b762b33133bfd3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8754fda51b1d368982844746d4c7e3d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00011.html#ad8754fda51b1d368982844746d4c7e3d">registerSensor</a> (byte[] xml)</td></tr>
<tr class="memdesc:ad8754fda51b1d368982844746d4c7e3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register Sensor.  <a href="#ad8754fda51b1d368982844746d4c7e3d"></a><br/></td></tr>
<tr class="separator:ad8754fda51b1d368982844746d4c7e3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad85def6a26ecac56b8d1ca92dbcb8ed3"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00011.html#ad85def6a26ecac56b8d1ca92dbcb8ed3">sendSensorData</a> (byte[] xml)</td></tr>
<tr class="memdesc:ad85def6a26ecac56b8d1ca92dbcb8ed3"><td class="mdescLeft">&#160;</td><td class="mdescRight">register sensordata  <a href="#ad85def6a26ecac56b8d1ca92dbcb8ed3"></a><br/></td></tr>
<tr class="separator:ad85def6a26ecac56b8d1ca92dbcb8ed3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pac-static-attribs"></a>
Static Package Attributes</h2></td></tr>
<tr class="memitem:a8e5954ac211bb5e2aa01f208e7c6d1ca"><td class="memItemLeft" align="right" valign="top">static Logger&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00011.html#a8e5954ac211bb5e2aa01f208e7c6d1ca">logger</a> = Logger.getLogger(SensorWebService.class.getName())</td></tr>
<tr class="memdesc:a8e5954ac211bb5e2aa01f208e7c6d1ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; Properties file.  <a href="#a8e5954ac211bb5e2aa01f208e7c6d1ca"></a><br/></td></tr>
<tr class="separator:a8e5954ac211bb5e2aa01f208e7c6d1ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:acc0e87d8dcc560c49fc5bb01bae40136"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00011.html#acc0e87d8dcc560c49fc5bb01bae40136">initialize</a> ()</td></tr>
<tr class="memdesc:acc0e87d8dcc560c49fc5bb01bae40136"><td class="mdescLeft">&#160;</td><td class="mdescRight">initialize variables.  <a href="#acc0e87d8dcc560c49fc5bb01bae40136"></a><br/></td></tr>
<tr class="separator:acc0e87d8dcc560c49fc5bb01bae40136"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a828f0c353a8fb11ab18c26c572142975"><td class="memItemLeft" align="right" valign="top">Properties&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00011.html#a828f0c353a8fb11ab18c26c572142975">properties</a></td></tr>
<tr class="separator:a828f0c353a8fb11ab18c26c572142975"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a457bb8c37136cc18e0fc6ac6207160a6"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00011.html#a457bb8c37136cc18e0fc6ac6207160a6">sensorXmlLocation</a></td></tr>
<tr class="memdesc:a457bb8c37136cc18e0fc6ac6207160a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; logger  <a href="#a457bb8c37136cc18e0fc6ac6207160a6"></a><br/></td></tr>
<tr class="separator:a457bb8c37136cc18e0fc6ac6207160a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13e5c20ab673b0374809b35fbaf75463"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00011.html#a13e5c20ab673b0374809b35fbaf75463">dataXmlLocation</a></td></tr>
<tr class="memdesc:a13e5c20ab673b0374809b35fbaf75463"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; Defined in propertie file.  <a href="#a13e5c20ab673b0374809b35fbaf75463"></a><br/></td></tr>
<tr class="separator:a13e5c20ab673b0374809b35fbaf75463"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa066be88d9ee0caa18c06e09ae72cc15"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00011.html#aa066be88d9ee0caa18c06e09ae72cc15">sensorId</a> = 0</td></tr>
<tr class="memdesc:aa066be88d9ee0caa18c06e09ae72cc15"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; Defined in propertie file.  <a href="#aa066be88d9ee0caa18c06e09ae72cc15"></a><br/></td></tr>
<tr class="separator:aa066be88d9ee0caa18c06e09ae72cc15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a049f6fb0b62698893a94e951c1f6f8ef"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00011.html#a049f6fb0b62698893a94e951c1f6f8ef">sensorDataId</a> = 0</td></tr>
<tr class="memdesc:a049f6fb0b62698893a94e951c1f6f8ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; id for the temp sensor files created by <a class="el" href="a00011.html" title="Webservice voor sensors.">SensorWebService</a>  <a href="#a049f6fb0b62698893a94e951c1f6f8ef"></a><br/></td></tr>
<tr class="separator:a049f6fb0b62698893a94e951c1f6f8ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a362f42d595a39a3435412c6272ce6068"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00010.html">SensorValidator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00011.html#a362f42d595a39a3435412c6272ce6068">sensorValidator</a></td></tr>
<tr class="memdesc:a362f42d595a39a3435412c6272ce6068"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; id for the temp sensordata files created by <a class="el" href="a00011.html" title="Webservice voor sensors.">SensorWebService</a>  <a href="#a362f42d595a39a3435412c6272ce6068"></a><br/></td></tr>
<tr class="separator:a362f42d595a39a3435412c6272ce6068"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a254940eed1e804f6f1642f194e8726"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00008.html">SensorProcessor</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00011.html#a6a254940eed1e804f6f1642f194e8726">sensorProcessor</a></td></tr>
<tr class="memdesc:a6a254940eed1e804f6f1642f194e8726"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; used to validate sensor related data  <a href="#a6a254940eed1e804f6f1642f194e8726"></a><br/></td></tr>
<tr class="separator:a6a254940eed1e804f6f1642f194e8726"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3541ac8654931680a073ec666781a29f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00003.html">DaoSensor</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00011.html#a3541ac8654931680a073ec666781a29f">daoSensor</a></td></tr>
<tr class="memdesc:a3541ac8654931680a073ec666781a29f"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; used to help with sensor related tasks  <a href="#a3541ac8654931680a073ec666781a29f"></a><br/></td></tr>
<tr class="separator:a3541ac8654931680a073ec666781a29f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Webservice voor sensors. </p>
<dl class="section author"><dt>Author</dt><dd>Erik &amp; Martijn </dd></dl>

<p>Definition at line <a class="el" href="a00023_source.html#l00020">20</a> of file <a class="el" href="a00023_source.html">SensorWebService.java</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a8931ea2b039c1d5b7b762b33133bfd3e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">saxion.sensorframework.service.SensorWebService.SensorWebService </td>
          <td>(</td>
          <td class="paramtype">Properties&#160;</td>
          <td class="paramname"><em>properties</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>&lt; DaoSensor used for database connection </p>
<p>SensorWebservice</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">properties</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00007.html#aac1ff53e11fae2bfd0192afe1bd2c5fd" title="Properties file.">SensorFramework::properties</a> </dd></dl>

<p>Definition at line <a class="el" href="a00023_source.html#l00051">51</a> of file <a class="el" href="a00023_source.html">SensorWebService.java</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="a00011_a8931ea2b039c1d5b7b762b33133bfd3e_cgraph.png" border="0" usemap="#a00011_a8931ea2b039c1d5b7b762b33133bfd3e_cgraph" alt=""/></div>
<map name="a00011_a8931ea2b039c1d5b7b762b33133bfd3e_cgraph" id="a00011_a8931ea2b039c1d5b7b762b33133bfd3e_cgraph">
<area shape="rect" href="a00011.html#acc0e87d8dcc560c49fc5bb01bae40136" title="initialize variables." alt="" coords="307,5,523,48"/></map>
</div>
</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="acc0e87d8dcc560c49fc5bb01bae40136"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void saxion.sensorframework.service.SensorWebService.initialize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>initialize variables. </p>
<p>Set sensor and data location, create daoSensor, Create sensor validator and sensorprocessor.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00011.html#a3541ac8654931680a073ec666781a29f" title="&lt; used to help with sensor related tasks">daoSensor</a> </dd>
<dd>
<a class="el" href="a00011.html#a362f42d595a39a3435412c6272ce6068" title="&lt; id for the temp sensordata files created by SensorWebService">sensorValidator</a> </dd>
<dd>
<a class="el" href="a00011.html#a6a254940eed1e804f6f1642f194e8726" title="&lt; used to validate sensor related data">sensorProcessor</a> </dd></dl>

<p>Definition at line <a class="el" href="a00023_source.html#l00065">65</a> of file <a class="el" href="a00023_source.html">SensorWebService.java</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="a00011_acc0e87d8dcc560c49fc5bb01bae40136_icgraph.png" border="0" usemap="#a00011_acc0e87d8dcc560c49fc5bb01bae40136_icgraph" alt=""/></div>
<map name="a00011_acc0e87d8dcc560c49fc5bb01bae40136_icgraph" id="a00011_acc0e87d8dcc560c49fc5bb01bae40136_icgraph">
<area shape="rect" href="a00011.html#a8931ea2b039c1d5b7b762b33133bfd3e" title="&lt; DaoSensor used for database connection" alt="" coords="269,5,523,48"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ad8754fda51b1d368982844746d4c7e3d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int saxion.sensorframework.service.SensorWebService.registerSensor </td>
          <td>(</td>
          <td class="paramtype">byte[]&#160;</td>
          <td class="paramname"><em>xml</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Register Sensor. </p>
<p>Use xml file to register new sensor. Used <a class="el" href="a00011.html#a362f42d595a39a3435412c6272ce6068">sensorValidator</a>, <a class="el" href="a00011.html#a6a254940eed1e804f6f1642f194e8726">sensorProcessor</a> and <a class="el" href="a00011.html#a3541ac8654931680a073ec666781a29f">daoSensor</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">xml</td><td>containing the sensor information </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>sensor id, generated by framework </dd></dl>

<p>Definition at line <a class="el" href="a00023_source.html#l00105">105</a> of file <a class="el" href="a00023_source.html">SensorWebService.java</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="a00011_ad8754fda51b1d368982844746d4c7e3d_cgraph.png" border="0" usemap="#a00011_ad8754fda51b1d368982844746d4c7e3d_cgraph" alt=""/></div>
<map name="a00011_ad8754fda51b1d368982844746d4c7e3d_cgraph" id="a00011_ad8754fda51b1d368982844746d4c7e3d_cgraph">
<area shape="rect" href="a00008.html#ab4170fa430dcc2c4b0d2491cf3ee8298" title="Save bytes to file." alt="" coords="296,5,507,48"/><area shape="rect" href="a00010.html#a3b5819344f18c4e4c0d6c9452680352f" title="Validate xml with sensor data." alt="" coords="296,72,507,115"/><area shape="rect" href="a00008.html#af317626cbdd25f2613c20992f49cf3a8" title="Covert XML document to sensor Object." alt="" coords="296,139,507,181"/><area shape="rect" href="a00003.html#a132d764d3f79cd8c4245b6c91a4380cb" title="Add a sensor and its Datatable." alt="" coords="281,205,521,248"/><area shape="rect" href="a00006.html#add2ea5cb706c2220b71453d0b70f00ba" title="Returns the Sensor object as a String." alt="" coords="289,272,513,315"/><area shape="rect" href="a00003.html#a8c906f891ffae536ae8b69f59d8db0c5" title="Add an sensor object to the database, only used internally." alt="" coords="588,105,801,148"/><area shape="rect" href="a00003.html#a9510a442af2f6c479bdff029f4a06859" title="Get a specific sensor nr." alt="" coords="588,172,801,215"/><area shape="rect" href="a00003.html#a583d90cb564c9c97d6fdf4d0e2566edd" title="Adds an datatable iterates through the DataStruc saxion.sensorframework.structuur.DataStruc of the Sensor saxion.sensorframework.structuur.Sensor." alt="" coords="588,239,801,281"/><area shape="rect" href="a00003.html#a8029440908b08166d920a9db0b282be0" title="Update the datatable field in the Sensor table." alt="" coords="572,305,817,348"/><area shape="rect" href="a00005.html#ac9148170ae0ada0c0344d3da069d00ec" title="Get the type of the DataStruc." alt="" coords="868,205,1092,248"/><area shape="rect" href="a00005.html#ad33199a43d24fcacc9da03a6e7e96f20" title="Get the name of the DataStruc." alt="" coords="868,272,1092,315"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ad85def6a26ecac56b8d1ca92dbcb8ed3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean saxion.sensorframework.service.SensorWebService.sendSensorData </td>
          <td>(</td>
          <td class="paramtype">byte[]&#160;</td>
          <td class="paramname"><em>xml</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>register sensordata </p>
<p>Used <a class="el" href="a00011.html#a6a254940eed1e804f6f1642f194e8726">sensorProcessor</a> to process data to database.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">xml</td><td>containing the sensor data </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if no error occurred false if error occurred </dd></dl>

<p>Definition at line <a class="el" href="a00023_source.html#l00150">150</a> of file <a class="el" href="a00023_source.html">SensorWebService.java</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="a00011_ad85def6a26ecac56b8d1ca92dbcb8ed3_cgraph.png" border="0" usemap="#a00011_ad85def6a26ecac56b8d1ca92dbcb8ed3_cgraph" alt=""/></div>
<map name="a00011_ad85def6a26ecac56b8d1ca92dbcb8ed3_cgraph" id="a00011_ad85def6a26ecac56b8d1ca92dbcb8ed3_cgraph">
<area shape="rect" href="a00008.html#ab4170fa430dcc2c4b0d2491cf3ee8298" title="Save bytes to file." alt="" coords="295,5,505,48"/><area shape="rect" href="a00008.html#ae0715c7d7fd39f2802859cc66270df60" title="Reads xml data to database." alt="" coords="295,72,505,115"/><area shape="rect" href="a00008.html#a92f04e7d86c1857bb79d741771253834" title="Get value from DOM element." alt="" coords="559,5,769,48"/><area shape="rect" href="a00003.html#a14ba74caccde5492a3c11a2a321600f2" title="Gets the data columns of a Sensor." alt="" coords="556,72,772,115"/><area shape="rect" href="a00003.html#a05fec2fa9ee7f94a099c7ddc2e9fe98a" title="Add sensor data to the database." alt="" coords="557,139,771,181"/><area shape="rect" href="a00003.html#acd55af2a210d1f28920f42558a75c3cf" title="Get the datatable name." alt="" coords="821,105,1035,148"/></map>
</div>
</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a3541ac8654931680a073ec666781a29f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00003.html">DaoSensor</a> saxion.sensorframework.service.SensorWebService.daoSensor</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>&lt; used to help with sensor related tasks </p>

<p>Definition at line <a class="el" href="a00023_source.html#l00041">41</a> of file <a class="el" href="a00023_source.html">SensorWebService.java</a>.</p>

</div>
</div>
<a class="anchor" id="a13e5c20ab673b0374809b35fbaf75463"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String saxion.sensorframework.service.SensorWebService.dataXmlLocation</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>&lt; Defined in propertie file. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00007.html#aac1ff53e11fae2bfd0192afe1bd2c5fd" title="Properties file.">SensorFramework::properties</a> </dd></dl>

<p>Definition at line <a class="el" href="a00023_source.html#l00029">29</a> of file <a class="el" href="a00023_source.html">SensorWebService.java</a>.</p>

</div>
</div>
<a class="anchor" id="a8e5954ac211bb5e2aa01f208e7c6d1ca"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Logger saxion.sensorframework.service.SensorWebService.logger = Logger.getLogger(SensorWebService.class.getName())</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>&lt; Properties file. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00007.html#aac1ff53e11fae2bfd0192afe1bd2c5fd" title="Properties file.">SensorFramework::properties</a> </dd></dl>

<p>Definition at line <a class="el" href="a00023_source.html#l00024">24</a> of file <a class="el" href="a00023_source.html">SensorWebService.java</a>.</p>

</div>
</div>
<a class="anchor" id="a828f0c353a8fb11ab18c26c572142975"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Properties saxion.sensorframework.service.SensorWebService.properties</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="a00023_source.html#l00022">22</a> of file <a class="el" href="a00023_source.html">SensorWebService.java</a>.</p>

</div>
</div>
<a class="anchor" id="a049f6fb0b62698893a94e951c1f6f8ef"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int saxion.sensorframework.service.SensorWebService.sensorDataId = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>&lt; id for the temp sensor files created by <a class="el" href="a00011.html" title="Webservice voor sensors.">SensorWebService</a> </p>

<p>Definition at line <a class="el" href="a00023_source.html#l00034">34</a> of file <a class="el" href="a00023_source.html">SensorWebService.java</a>.</p>

</div>
</div>
<a class="anchor" id="aa066be88d9ee0caa18c06e09ae72cc15"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int saxion.sensorframework.service.SensorWebService.sensorId = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>&lt; Defined in propertie file. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00007.html#aac1ff53e11fae2bfd0192afe1bd2c5fd" title="Properties file.">SensorFramework::properties</a> </dd></dl>

<p>Definition at line <a class="el" href="a00023_source.html#l00032">32</a> of file <a class="el" href="a00023_source.html">SensorWebService.java</a>.</p>

</div>
</div>
<a class="anchor" id="a6a254940eed1e804f6f1642f194e8726"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00008.html">SensorProcessor</a> saxion.sensorframework.service.SensorWebService.sensorProcessor</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>&lt; used to validate sensor related data </p>

<p>Definition at line <a class="el" href="a00023_source.html#l00039">39</a> of file <a class="el" href="a00023_source.html">SensorWebService.java</a>.</p>

</div>
</div>
<a class="anchor" id="a362f42d595a39a3435412c6272ce6068"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00010.html">SensorValidator</a> saxion.sensorframework.service.SensorWebService.sensorValidator</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>&lt; id for the temp sensordata files created by <a class="el" href="a00011.html" title="Webservice voor sensors.">SensorWebService</a> </p>

<p>Definition at line <a class="el" href="a00023_source.html#l00037">37</a> of file <a class="el" href="a00023_source.html">SensorWebService.java</a>.</p>

</div>
</div>
<a class="anchor" id="a457bb8c37136cc18e0fc6ac6207160a6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String saxion.sensorframework.service.SensorWebService.sensorXmlLocation</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>&lt; logger </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00007.html#a42d5b539b22c0fca51cc3a1842d83e03" title="log4j used for logging.">SensorFramework::logger</a> </dd></dl>

<p>Definition at line <a class="el" href="a00023_source.html#l00027">27</a> of file <a class="el" href="a00023_source.html">SensorWebService.java</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/saxion/sensorframework/service/<a class="el" href="a00023_source.html">SensorWebService.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Feb 1 2013 11:25:02 for SensorFramework by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.2-20121118
</small></address>
</body>
</html>
